|
Namespaces
|
namespace |
mudbox |
Classes
|
class |
mudbox::ClassDesc |
|
This structure represents and describes a
class. More...
|
struct |
mudbox::Attribute |
|
This is an abstract base structure for all
attributes. Do not use it directly, use AttributeInstance
instead. More...
|
class |
mudbox::AttributeVoid |
|
Used to insert expanded category item.
More...
|
struct |
mudbox::AttributeInstance<
type > |
|
This is a generic attribute which can be
used instead of the standard built in types. More...
|
class |
mudbox::AttributePointer<
type > |
|
This class can be used instead of standard
pointers, when the pointer target class is derived from the
Node class.
More...
|
class |
mudbox::AttributeThisPointer |
|
This class represents a special pointer in
the Node class,
it always points to the owner. Used internally. More...
|
class |
mudbox::Node |
|
This is the base class for most classes in
the Mudbox SDK. More...
|
class |
mudbox::EventGate |
|
This class represents an event
receiver/triggerer point. More...
|
class |
mudbox::AttributeFloatRange |
|
This attribute represents a float value
which has a minimum and a maximum value. These values will be used
in the user interface only, but the user will be able to assign
values out of the range to the attribute. More...
|
class |
mudbox::AttributeNumber |
|
An attribute that can hold a number and uses
the specified number of digits when displaying on the UI. More...
|
class |
mudbox::AttributeEnumeration |
|
This attribute is very similar to the aint
type but on the user interface it will be displayed as a combobox,
and the user will be able to choose its value from a list. More...
|
class |
mudbox::AttributeFilename |
|
Similar to AttributeInstance<String>
but it provides a button on the interface where the user can browse
for a filename. More...
|
class |
mudbox::AttributeTextureFilename |
|
Represents a special file name attribute
that accepts texture files as value. Provides a create new and a
browse interface. More...
|
class |
mudbox::AttributeWatch |
|
A fake attribute used to watch an attribute
in your class which is not a member. Its better if you create a
copy of the attribute in your class with the same type and link it
to the target, but if you do not know the exact type of the other
attribute you can use this class. More...
|
class |
mudbox::AttributeBoolCollection |
|
This attribute is a collection of bools.
More...
|
Defines
|
#define |
DECLARE_CLASS |
|
This macro should be used in declaration of
classes which are inherited from the Node class (or any descendant
of that) to fill RTTI information.
|
#define |
IMPLEMENT_SDK_VCLASS2(name, parent0, parent1,
displayname, instanceclass, version, streamversion) |
#define |
IMPLEMENT_SDK_CLASS(name, parent,
displayname, instanceclass) IMPLEMENT_SDK_VCLASS2(
name, parent, parent, displayname, instanceclass, 0, 0 ) |
#define |
IMPLEMENT_VCLASS2(name, parent0, parent1,
displayname, version) IMPLEMENT_SDK_VCLASS2( name,
parent0, parent1, displayname, name, version, 0 ) |
#define |
IMPLEMENT_VCLASS(name, parent, displayname,
version) IMPLEMENT_SDK_VCLASS2( name, parent,
parent, displayname, name, version, 0 ) |
#define |
IMPLEMENT_CLASS2(name, parent0, parent1,
displayname) IMPLEMENT_SDK_VCLASS2( name, parent0,
parent1, displayname, name, 0, 0 ) |
#define |
IMPLEMENT_CLASS(name, parent,
displayname) IMPLEMENT_SDK_VCLASS2( name, parent,
parent, displayname, name, 0, 0 ) |
#define |
IMPLEMENT_SCLASS(name, parent, displayname,
streamversion) IMPLEMENT_SDK_VCLASS2( name,
parent, parent, displayname, name, 0, streamversion ) |
|
This macro is the same as the
IMPLEMENT_CLASS macro, but it also accepts an additional parameter,
which is the stream version for the class.
|
#define |
OPERATORS_NOEXCMARK(type) |
#define |
OPERATORS(type) |
#define |
PTROPERATORS(type) |
#define |
aptr AttributePointer |
Typedefs
|
typedef AttributeVoid |
avoid |
typedef AttributeInstance<
int > |
aint |
|
This type has to be used instead of the
general int type.
|
typedef AttributeInstance<
float > |
afloat |
|
This type has to be used instead of the
general float type.
|
typedef AttributeInstance<
bool > |
abool |
|
This type has to be used instead of the
general bool type.
|
typedef AttributeInstance<
QString > |
astring |
|
This type has to be used instead of the
String type.
|
typedef EventGate |
aevent |
typedef AttributeFloatRange |
afloatr |
typedef AttributeNumber |
anumber |
typedef AttributeEnumeration |
aenum |
typedef AttributeFilename |
afilename |
typedef AttributeTextureFilename |
atexturefilename |
typedef AttributeBoolCollection |
aboolc |
Enumerations
|
enum |
NodeEventType {
etValueChanged, etSourceChanged, etTargetChanged,
etPointerContentChanged,
etPointerTargetDestroyed,
etStatusChanged, etPointerTargetUIChanged,
etDeferred,
etRefreshDialogUI, etEventTriggered =
etValueChanged
} |
|
Possible event types when Node::OnNodeEvent
is called. More...
|
Functions
|
MBDLL_DECL AttributeWidget * |
CreateNewPtrWidget (QWidget
*pParent, int iWidth, Attribute *pAttribute, const ClassDesc
*pType) |
MBDLL_DECL AttributeWidget * |
CreateNewBoolWidget (QWidget
*pParent, int iWidth, abool *pAttribute) |
MBDLL_DECL AttributeWidget * |
CreateNewIntWidget (QWidget
*pParent, int iWidth, aint *pAttribute) |
template<typename type> |
bool |
operator== (const Attribute &cA,
const AttributeInstance< type > &cB) |
|
This operator compares the two attributes
and NOT their values. Returns true only if the two attribute
instances are the same (See Node::OnNodeEvent).
|
template<typename type> |
Stream & |
operator== (Stream &s,
AttributeInstance< type > &c) |
template<typename type> |
Stream & |
operator== (Stream &cStream,
AttributePointer< type > &cPointer) |
AttributeWidget * |
CreateNewEventWidget (QWidget
*pParent, int iWidth, EventGate *pAttribute) |
|
Creates an event widget.
|
MBDLL_DECL Stream & |
operator== (Stream &s, afloatr &a) |
MBDLL_DECL Stream & |
operator== (Stream &s, aenum &a) |
MBDLL_DECL Stream & |
operator== (Stream &s, afilename &a) |